
{block name="content"}
<!-- 表单搜索 开始 -->
<script>
    window.laydate.render({range: true, elem: '#range-date'});
</script>
<!-- 表单搜索 结束 -->

<form onsubmit="return false;" data-auto="true" method="post">
    <p class="help-block text-center well">{$list.shopname}</p>
    <!--{empty name='list'}-->
    <p class="help-block text-center well">没 有 记 录 哦！</p>
    <!--{else}-->
    <input type="hidden" value="resort" name="action">
    <table class="layui-table" lay-skin="line">
        <thead>
        <tr>
            <th class='text-left nowrap'>当日收益</th>
            <th class='text-left nowrap'>收益金额</th>
            <th class='text-left nowrap'>时间</th>
            <th class='text-left nowrap'>订单号</th>
            <th class='text-left nowrap'></th>
        </tr>
        </thead>
        <tbody>
        {foreach($list['list'] as $key=>$value)}
        <tr>
            <td class='text-left nowrap'>
                {$value.total_money|default='暂无'}
            </td>
            <td class='text-left nowrap'>
                {$value.money|default='暂无'}
            </td>
            <td class='text-left nowrap'>
                {$value.created_at|default='暂无'}
            </td>
            <td class='text-left nowrap'>
                <a data-open='{:url("admin/adminorder/index")}?sn={$value.sn}'>{$value.sn|default='暂无'}</a>
            </td>
        </tr>
        {/foreach}
        </tbody>
    </table>
    {if isset($list.page)}<p>{$list.page|raw}</p>{/if}
    <!--{/empty}-->
</form>
{/block}
{block name="script"}
<!--表单初始化-->
<script>
    window.laydate.render({range: true, elem: '#create_at'});
    window.form.render();

</script>
<!--引入标签设置-->
{/block}